var get=function(headA,headB){
    if(headA==null||headB==null){
        return null
    }
    let pa=headA,pb=headB
    while(pa!=pb){
        pa=pa===null?headB:pa.next
        pb=pb===null?headA:pb.next
    }
    return pa
}